package chapter04.example18_23;
class Animal1{
    void shout(){
        System.out.println("动物叫！");
    }
}
public class Example18 {
    public static void main(String[] args) {
        Animal2 animal = new Animal2();
        System.out.println(animal.toString());
    }
}
